/*
 * ModelCC, distributed under ModelCC Shared Software License, www.modelcc.org
 */


package test.modelcc.language.imperative.model.expression;

import org.modelcc.IModel;
import org.modelcc.Pattern;
import org.modelcc.Value;

@Pattern(regExp="[0-9]+")
public class IntegerLiteral extends LiteralExpression implements IModel {

    @Value int value;

    @Override
    public double eval() {
        return value;
    }

}
